﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PPAP.Model
{
   /// <summary>
	/// 实体类MAILTEMPLATE 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
    [Serializable]
    public class MailTemplate
    {
        public MailTemplate()
        { }
        #region Model
        private int? _id;
        private string _name;
        private string _content;
        private string _title;
        private int? _isuse;
        private DateTime _CREATETIME;

        public DateTime CREATETIME
        {
            get { return _CREATETIME; }
            set { _CREATETIME = value; }
        }
        private string _CREATEDBY;

        public string CREATEDBY
        {
            get { return _CREATEDBY; }
            set { _CREATEDBY = value; }
        }
        /// <summary>
        /// id
        /// </summary>
        public int? ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 模板名称
        /// </summary>
        public string NAME
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 模板内容
        /// </summary>
        public string CONTENT
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 邮件标题
        /// </summary>
        public string TITLE
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 是否正在使用
        /// </summary>
        public int? ISUSE
        {
            set { _isuse = value; }
            get { return _isuse; }
        }

        private string _opportunity;
        /// <summary>
        /// 发送时机
        /// </summary>
        public string Opportunity
        {
            get { return _opportunity; }
            set { _opportunity = value; }
        }

        private string _recipients;
        /// <summary>
        /// 接收人
        /// </summary>
        public string Recipients
        {
            get { return _recipients; }
            set { _recipients = value; }
        }

        #endregion Model
    }
}
